package com.galeno.day03.transfer;

import java.util.Objects;

/**
 * @author galeno
 * @Title:
 * @Description:
 * @date 2021/10/1719:53
 */
public class ADBean {
    private String ADID;
    private String UID;

    public String getADID() {
        return ADID;
    }

    public void setADID(String ADID) {
        this.ADID = ADID;
    }

    public String getUID() {
        return UID;
    }

    public void setUID(String UID) {
        this.UID = UID;
    }

    public ADBean(String ADID, String UID) {
        this.ADID = ADID;
        this.UID = UID;
    }


    @Override
    public String toString() {
        return "ADBean{" +
                "ADID='" + this.getADID() + '\'' +
                ", UID='" + this.UID + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ADBean adBean = (ADBean) o;
        return Objects.equals(ADID, adBean.ADID) && Objects.equals(UID, adBean.UID);
    }

    @Override
    public int hashCode() {
        return Objects.hash(ADID, UID);
    }
}
